﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.Data.Linq;



namespace BLL
{
    public class LanguageTable : DataContext
    {
        public Table<Language> language;
        public LanguageTable(string con) : base(con) { }
    }
    [Table(Name = "LanguageStrings")]
    public class Language
    {


        [Column(IsDbGenerated = true, CanBeNull = false, IsPrimaryKey = true, DbType = "int IDENTITY(1,1) NOT NULL")]
        public int Id
        {
            get;
            set;
        }
        [Column(IsDbGenerated = false, CanBeNull = false, IsPrimaryKey = false, DbType = "int NOT NULL")]
        public int TagId
        {
            get;
            set;
        }
        [Column(DbType = "NVarChar(20)", CanBeNull=true)]
        public string LanguageCode
        {
            get;
            set;
        }

        [Column(DbType = "NVarChar(100) NOT NULL")]
        public string Text
        { get; set; }

        [Column(DbType = "nvarchar 200 NULL")]
        public string MasterControl
        { get; set; }
    }
}
